﻿@model Web.Models.Taoke.TaokeItemModel
@{
    Layout = "~/Views/Shared/_TaokeRoot.cshtml";
    //title
    Html.AddTitleParts(Model.Title);
}

@section search {

}
@section title {
    <h1>宝贝详情</h1>
}
@section top_right_button
{
    @if (HttpContext.Current.Request.UrlReferrer != null)
    {

        <a href="@Html.Raw(HttpContext.Current.Request.UrlReferrer.AbsoluteUri) " class="ui-btn-right ui-btn ui-btn-corner-all ui-shadow ui-btn-up-a"><span class="ui-btn-inner ui-btn-corner-all">返回</span></a>

    }
}

<div class="product-details-page">
    <div class="product-essential">
        <div class="product-details-info">
            <div class="overview">
                <div class="pics">
                    <img src="@Model.PicUrl" width="260" alt="@Model.Title" />
                </div>
                <h1 class="productname">
                    @Model.Title
                </h1>
                <div class="clear">
                </div>
                <div class="prices">
                    价格：
                    @if (!String.IsNullOrEmpty(Model.CouponPrice))
                    {
                        <span class="oldproductPrice">¥ @Model.Price</span>
                        <br />
                        <span class="productPrice">¥ @Model.CouponPrice</span> 
                    }
                    else
                    {
                        <span class="productPrice">¥ @Model.ItemModel.Price</span> 
                    }
                </div>
                <div class="volume">
                    月销：@Model.ItemModel.Volume
                </div>
                <div class="buybtn">
                    <a href="@Model.ClickUrl">
                        <img src="/Content/images/buy.gif" alt="立刻到淘宝购买" /></a>
                </div>
            </div>
            <div class="fulldescription">
                @Html.Raw(Model.ItemModel.WapDesc)
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
    <div class="product-collateral">
        <div>
            @Html.Action("HotList", "Taoke", new { CategoryId = Model.ItemModel.Cid })
        </div>
    </div>
</div>
